package bbb;

import com.sun.org.apache.xpath.internal.operations.Bool;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 18128
 * Date: 2023-09-25
 * Time: 21:36
 */
public class Booklist {
    private book[] brr=new book[10];//假设书架上一开始只能放十本书
    private int nums;
    //并且设定书架本来就有三本书放在上面
    public Booklist()
    {
        brr[0]=new book("数据结构","hjx",17,"学习");
        brr[1]=new book("数据库" ,"wjx",27,"学习");
        brr[2]=new book("c语言","hjx",67,"学习");
        nums=3;
    }

    public book[] getBrr() {
        return brr;
    }

    public void setBrr(book[] brr) {
        this.brr = brr;
    }

    public int getNums() {
        return nums;
    }

    public void setNums(int nums) {
        this.nums = nums;
    }
}
